package org.jeecg.modules.demo.mes.service;

import org.jeecg.modules.demo.mes.controller.query.ProductionProcessQuery;
import org.jeecg.modules.demo.mes.entity.MesBaseFactory;
import org.jeecg.modules.demo.mes.entity.MesWorkOrderDetail;

import java.util.List;
import java.util.Map;

public interface IMesProductionProcessService {
    public MesBaseFactory queryFactoryMsgByField(String field) ;

    Object queryWorkOrderByWorkOrderBarCode(String workOrderBarCode);

    Object queryMaterialDetailByBarCode(String materialBarCode);

    void finishMaterial(String procedureId, String workOrderBarCode, List<Map<String,Object>> list);

    void finishCheck(String procedureId, String workOrderBarCode, List<Map<String, Object>> list);

    List<MesWorkOrderDetail> queryProcedureWorkOrderList(ProductionProcessQuery query);

    Integer queryProcedureWorkOrderCount(ProductionProcessQuery query);
}
